package Linked;

/**
 * Created by sunwei on 2017/10/9
 * Time:15:48
 */
public class Link {
    public int iData;
    public double dData;
    public Link next;

    public Link(int iData,Double dData) {
        this.dData = dData;
        this.iData = iData;
    }
    public void displayLink(){
        System.out.println("{"+iData+","+dData+"}");
    }
}
